<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
</head>
<body>
  <div id="app"></div>
<script>
  /*
   命令式
  */
  const app = document.getElementById('app');
  let h1E = document.createElement('h1');
  let message = '你好, 撩课学院';
  h1E.innerText = message;
  app.appendChild(h1E);
</script>
</body>
</html>
